export const isIpx = () => {
    const sysInfo = wx.getSystemInfoSync()
    const { model } = sysInfo
    // console.log(sysInfo, '===手机型号===')
    let arr = ['iPhone X', 'iPhone XS', 'iPhone XS Max', 'iPhone XR']
    const newArr = ['iPhone 11', 'iPhone 12', 'iPhone 13', 'unknown', 'iPhone 14']
    let isIpx = false
    arr = [...arr, ...newArr]
    arr.forEach(item => {
      if (model.includes(item)) {
        isIpx = true
      }
    })
    return isIpx
  }